package com.service;

import com.pojo.PageBean;
import com.pojo.Users;

import java.util.List;

public interface UsersService {
    PageBean<Users> findAllUsers(int limit, int current);
    Users login(Users users);
    boolean deleteUser(String id);
    boolean addUser(Users users);
    Users findUsersByID(String id);
    boolean updateUser(Users users);
    boolean findUsername(String username);
}
